package com.z_talk.core.vo;

import java.text.SimpleDateFormat;
import java.util.Date;

public class NewsVO {

    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public NewsVO(String nickName) {
//        14:48:51 Admin(1) 对大家说
//        1
        news = "【" + nickName + "】 " + sdf.format(new Date());
    }

    private String news;


    public String getNews() {
        return news;
    }

    public void setNews(String news) {
        this.news = news;
    }
}
